#include "progress.h"
#include "ui_progress.h"

progress::progress(QWidget *parent)
    : QDialog(parent)
    , ui(new Ui::progress)
{
    ui->setupUi(this);
    setWindowFlags(Qt::FramelessWindowHint);
    ui->progressBar->setValue(0);
    ui->progressBar_2->setValue(0);
}

void progress::setprogress(int a, int b)
{
    ui->progressBar->setValue(a);
    ui->progressBar_2->setValue(b);
}

progress::~progress()
{
    delete ui;
}
